/**
 * 
 */

package com.chengyu.eyc.enums;

import com.chengyu.eyc.base.AbstractEnums;

/**
 * @author kevin
 *
 */
public enum PublishInfoTypeEnum implements AbstractEnums<String>{

    NEWS("NEWS", "新闻资讯"),

    NOTICE("NOTICE", "系统通知"),

    CAROUSEL("CAROUSEL", "轮播图"),

    ;

    private String code;

    private String name;

    PublishInfoTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

}
